package com.canaan.business.domain.inOutStock;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 待检仓库存对象 wms_storehouse_stock_check
 *
 * @author ruoyi
 * @date 2023-03-09
 */
@ApiModel(description = "wms_storehouse_stock_check")
@TableName("wms_storehouse_stock_check")
public class StorehouseStockCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private String no;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String storehouseNo;

    /** 库区编号 */
    @Excel(name = "库区编号")
    @ApiModelProperty("库区编号")
    private String storehouseAreaNo;

    /** 库位编号 */
    @Excel(name = "库位编号")
    @ApiModelProperty("库位编号")
    private String storehouseLocationNo;

    /** 条码号 */
    @Excel(name = "条码号")
    @ApiModelProperty("条码号")
    private String barcode;

    /** 物料编码 */
    @Excel(name = "物料编码")
    @ApiModelProperty("物料编码")
    private String productNo;

    /** 物料版本 */
    @Excel(name = "物料版本")
    @ApiModelProperty("物料版本")
    private String productVersion;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;

    /** 物料批次 */
    @Excel(name = "物料批次")
    @ApiModelProperty("物料批次")
    private String batchNo;

    /** 库存数量 */
    @Excel(name = "库存数量")
    @ApiModelProperty("库存数量")
    private Long qty;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String company;

    /** 库存状态：1（待检）2（已检合格）3（已检让步）4（已检部分）5（已检退货） */
    @Excel(name = "库存状态")
    @ApiModelProperty("库存状态：1")
    private String status;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("生产日期")
    private Date productionDate;

    /** 有效天数 */
    @Excel(name = "有效天数")
    @ApiModelProperty("有效天数")
    private Long validDateNum;

    /** 有效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("有效日期")
    private Date effectiveDate;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 订单号 */
    @Excel(name = "订单号")
    @ApiModelProperty("订单号")
    private String orderNo;

    /** 质检任务号 */
    @Excel(name = "质检任务号")
    @ApiModelProperty("质检任务号")
    private String qualityMainTaskNo;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("质检任务号")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setStorehouseNo(String storehouseNo)
    {
        this.storehouseNo = storehouseNo;
    }

    public String getStorehouseNo()
    {
        return storehouseNo;
    }
    public void setStorehouseAreaNo(String storehouseAreaNo)
    {
        this.storehouseAreaNo = storehouseAreaNo;
    }

    public String getStorehouseAreaNo()
    {
        return storehouseAreaNo;
    }
    public void setStorehouseLocationNo(String storehouseLocationNo)
    {
        this.storehouseLocationNo = storehouseLocationNo;
    }

    public String getStorehouseLocationNo()
    {
        return storehouseLocationNo;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductVersion(String productVersion)
    {
        this.productVersion = productVersion;
    }

    public String getProductVersion()
    {
        return productVersion;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo()
    {
        return batchNo;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getCompany()
    {
        return company;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setProductionDate(Date productionDate)
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate()
    {
        return productionDate;
    }
    public void setValidDateNum(Long validDateNum)
    {
        this.validDateNum = validDateNum;
    }

    public Long getValidDateNum()
    {
        return validDateNum;
    }
    public void setEffectiveDate(Date effectiveDate)
    {
        this.effectiveDate = effectiveDate;
    }

    public Date getEffectiveDate()
    {
        return effectiveDate;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setQualityMainTaskNo(String qualityMainTaskNo)
    {
        this.qualityMainTaskNo = qualityMainTaskNo;
    }

    public String getQualityMainTaskNo()
    {
        return qualityMainTaskNo;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("storehouseNo", getStorehouseNo())
            .append("storehouseAreaNo", getStorehouseAreaNo())
            .append("storehouseLocationNo", getStorehouseLocationNo())
            .append("barcode", getBarcode())
            .append("productNo", getProductNo())
            .append("productVersion", getProductVersion())
            .append("productName", getProductName())
            .append("batchNo", getBatchNo())
            .append("qty", getQty())
            .append("company", getCompany())
            .append("status", getStatus())
            .append("productionDate", getProductionDate())
            .append("validDateNum", getValidDateNum())
            .append("effectiveDate", getEffectiveDate())
            .append("supplierName", getSupplierName())
            .append("orderNo", getOrderNo())
            .append("remark", getRemark())
            .append("qualityMainTaskNo", getQualityMainTaskNo())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
